html,
body {
    margin: 0px;
    padding: 0px;
    height: 100%;
    overflow: hidden;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    background: #f7f7f7;
}

footer {
    /* position: fixed;
            width: 100%;
            min-height: 50px;
            border-top: solid 1px #bbb;
            left: 0px;
            bottom: 0px;
            overflow: hidden;
            z-index: 1515151515;
            background-color: #fafafa; */
}

.footer-left {
    width: 50px;
    height: 50px;
    text-align: center;
    vertical-align: middle;
    line-height: 100%;
    padding: 12px 4px;
}

.footer-right {
    position: absolute;
    width: 50px;
    height: 50px;
    right: 0px;
    bottom: 0px;
    text-align: center;
    vertical-align: middle;
    line-height: 100%;
    padding: 12px 5px;
    display: inline-block;
}

.footer-center {
    height: 100%;
    padding: 5px 0px;
    margin-left: 100px;
    margin-right: 50px;
}

.footer-center [class*=input] {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    padding: 5px;
}

.footer-center .input-text {
    background: #fff;
    border: solid 1px #ddd;
    padding: 10px;
    font-size: 16px !important;
    line-height: 18px !important;
    font-family: verdana !important;
    overflow: hidden;
}

.footer-center .input-sound {
    background-color: #eee;
}

.mui-content {
    height: 100%;
    padding: 0px 0px 50px 0px;
    background-color: #f7f7f7;
    overflow: hidden;
}

#msg-list {
    height: 100%;
    overflow: scroll;
}

#msg-list::-webkit-scrollbar {
    display: block;
    background-color: #f5f5f5;
}

.msg-item {
    padding: 8px;
    clear: both;
    list-style: none;
}

.msg-item .mui-item-clear {
    clear: both;
}

.msg-item .msg-user {
    width: 43px;
    height: 43px;
    border: solid 1px #d3d3d3;
    display: inline-block;
    background: #fff;
    border-radius: 50%;
    vertical-align: top;
    text-align: center;
    float: left;
    color: #ddd;
    overflow: hidden;
}

.msg-item .msg-user img.msg-user-w {
    width: 43px;
}

.msg-item .msg-user img.msg-user-h {
    height: 43px;
}

.msg-item .msg-user-img {
    width: 43px;
    height: 43px;
    display: inline-block;
    border-radius: 3px;
    vertical-align: top;
    text-align: center;
    float: left;
    color: #ddd;
}

.msg-item .msg-content {
    display: inline-block;
    border-radius: 3px 18px 18px 18px;
    border: solid 1px #d3d3d3;
    background-color: #fff;
    color: #253B3E;
    padding: 8px 12px;
    vertical-align: top;
    font-size: 15px;
    position: relative;
    margin: 0px 8px;
    max-width: 75%;
    min-width: 35px;
    float: left;
}

.msg-item .msg-content .msg-content-inner {
    overflow-x: hidden;
}
.msg-item-self .msg-user,
.msg-item-self .msg-content {
    float: right;
}
.msg-item-self .msg-content{
    border-radius: 18px 3px 18px 18px;
}
footer .mui-icon {
    color: #dbd4f5;
}

footer .mui-icon:active {
    color: #007aff !important;
}

footer .mui-icon-paperplane:before {
    content: "发送";
}

footer .mui-icon-paperplane {
    /*-webkit-transform: rotateZ(45deg);
            transform: rotateZ(45deg);*/
    font-size: 16px;
    word-break: keep-all;
    line-height: 100%;
    padding-top: 6px;
    color: rgba(0, 135, 250, 1);
}

#msg-sound {
    -webkit-user-select: none !important;
    user-select: none !important;
}

.rprogress {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 140px;
    height: 140px;
    margin-left: -70px;
    margin-top: -70px;
    background-image: url(../images/arecord.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 30px 30px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
    display: none;
    -webkit-transition: .15s;
}

.rschedule {
    background-color: rgba(0, 0, 0, 0);
    border: 5px solid rgba(0, 183, 229, 0.9);
    opacity: .9;
    border-left: 5px solid rgba(0, 0, 0, 0);
    border-right: 5px solid rgba(0, 0, 0, 0);
    border-radius: 50px;
    box-shadow: 0 0 15px #2187e7;
    width: 46px;
    height: 46px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -23px;
    margin-top: -23px;
    -webkit-animation: spin 1s infinite linear;
    animation: spin 1s infinite linear;
}

.r-sigh {
    display: none;
    border-radius: 50px;
    box-shadow: 0 0 15px #2187e7;
    width: 46px;
    height: 46px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -23px;
    margin-top: -23px;
    text-align: center;
    line-height: 46px;
    font-size: 40px;
    font-weight: bold;
    color: #2187e7;
}

.rprogress-sigh {
    background-image: none !important;
}

.rprogress-sigh .rschedule {
    display: none !important;
}

.rprogress-sigh .r-sigh {
    display: block !important;
}

.rsalert {
    font-size: 12px;
    color: #bbb;
    text-align: center;
    position: absolute;
    border-radius: 5px;
    width: 130px;
    margin: 5px 5px;
    padding: 5px;
    left: 0px;
    bottom: 0px;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.cancel {
    background-color: darkred;
}

.footer-left-1 {
    float: left;
    width: 50px;
    height: 50px;
    text-align: center;
    vertical-align: middle;
    line-height: 100%;
    padding: 12px 4px;
}

.footer-left {
    float: left;
    top: 0px;
}

footer {
    height: auto;
}

.time {
    text-align: center;
}

.time span {
    padding: 5px 10px;
    font-size: 12px;
    color: #B3B3B3;
}

.footer-center {
    width: 100% !important;
    margin: 0;
}

#fx-footer {
    width: 100%;
    height: 100px;
    background: #663DFB;
}

/* 红包 */
.msg-name {
    font-size: 12px;
    color: #253B3E;
    margin-left: 50px;
}

.msg-item-self .msg-name {
    text-align: right;
    margin-right: 50px;
    margin-left: 0;
}

/* 红包 */
.red-wrap {
    position: relative;
}

.red-wrap .game {
    position: absolute;
    top: 15px;
    left: 70px;

}

.red-wrap .game p {
    color: #fff;
    font-size: 12px;
}

.red-wrap .game p.red-game-text {
    color: #f5d03d;
    font-size: 14px;
}

.red-wrap .game-type {
    position: absolute;
    font-size: 10px;
    color: #757575;
    bottom: 0px;
    left: 15px;
    ;
}

.msg-item-self .red-wrap .game-type {
    left: 5px;
    ;
}

.red-envelope .msg-content {
    background-color: transparent;
    border-color: transparent;
    padding-left: 0;
    /* margin-left: 0; */
    padding-top: 0;
}

.msg-item-self.red-envelope .msg-content {
    padding-right: 0;
    /* margin-right: 0; */
    padding-top: 0;
}

.red-envelope .msg-content img {
    width: 216px;
}

.red-envelope .msg-content .red-img {
    background-image: url('../image/icon/bg_luckybagdialog_style2.png');

    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 216px;
    height: 72px;
}

.red-envelope .msg-content-arrow {
    display: none;
}

.red-envelope .msg-content .red-img.red-img-no {
    background-image: url('../image/icon/bg_luckybagdialog_style2_d.png');

}

.red-envelope.money .msg-content .red-img {
    background-image: url('../image/icon/bg_luckybagdialog.png');
}

.red-envelope.money .msg-content .red-img.red-img-no {
    background-image: url('../image/icon/mp_bg_luckybagdialog_d.png');
}

/* 撤回 */
.recall {
    font-size: 12px;
    color: #999;
    text-align: center;
    padding: 10px 0;
}

/* 视频 */
.msg-video {
    position: relative;
}

.msg-video img {
    max-width: 100px;
}

.video-icon {
    background-image: url('../image/icon/album_ic_playclip.png');
    background-repeat: no-repeat;
    background-size: 100%;
    width: 25px;
    height: 25px;
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50px;
    margin-top: -12.5px;
    margin-left: -12.5px;
}

/* 红包提示 */
.hongbao-msg {
    font-size: 12px;
    text-align: center;
    color: #999;
    padding: 10px 0;
}

.hongbao-msg span {
    color: orange;
}

/* 阅后即焚 */
.read-burn .msg-content {
    background-color: transparent;
    border-color: transparent;
    padding-left: 0;
    padding-top: 0;
}

.msg-item-self.read-burn .msg-content {
    padding-right: 0;
    padding-top: 0;
}

.read-burn .msg-content-arrow {
    display: none;
}

.read-burn .msg-content .burn-msg {
    background-image: url('../image/icon/message_view_holder_left_snapchat.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 82px;
    height: 72px;
}

.read-burn .msg-content .burn-msg.burn {
    background-image: url('../image/icon/message_view_holder_left_snapchat_disable.png');
}

.msg-item-self.read-burn .msg-content .burn-msg {
    background-image: url('../image/icon/message_view_holder_right_snapchat.png');
}

.msg-item-self.read-burn .msg-content .burn-msg.burn {
    background-image: url('../image/icon/message_view_holder_right_snapchat_disable.png');
}

/* 位置 */
.msg-area .msg-content {
    background-color: transparent;
    border-color: transparent;
    padding-left: 0;
    padding-top: 0;
}

.msg-item-self.msg-area .msg-content {
    padding-right: 0;
    padding-top: 0;
}

.msg-area .msg-content-arrow {
    display: none;
}

/* 未读 */
.read-status {
    color: red;
    font-size: 12px;
}

/* 已读 */
.read-status.ready-read {
    color: #4caf50;
}

#msg-bottom {
    height: 20px;
    width: 100%;
}